#!/bin/bash

proImageName="ccr.ccs.tencentyun.com/pro.kangzhan/appshortcuts-h5"
echo $proImageName
  
imagetag=`date +%Y%m%d-%H%M%S`

echo $imagetag

dockerfile="./Dockerfile"

docker build --rm -f $dockerfile -t $proImageName:$imagetag .

docker images $proImageName

docker login --username 100007992639 --password 123456abcD. ccr.ccs.tencentyun.com
docker push $proImageName:$imagetag
